package com.day02_function;

/**
 * @ClassName: Phone
 * @Author: 豆豆在睡觉
 * @Create 2024/1/14-21:38
 * @Version 1.0
 */
public class Phone {
    public static void main(String[] args) {

    }
    // 属性
    double price;
    String name;
    // 方法
    public void call() {
        System.out.println("calling");
    }
    public void sendMessage() {
        System.out.println("发送短信");
    }

    public void palyGame() {
        System.out.println("手机玩游戏");
    }

}
